package com.cjjs.jsf.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="wx_user")
public class WxUser implements Serializable{

	private static final long serialVersionUID = 7425195179601127979L;
	
	@Id
	@Column(name="user_openId")
	private String openId;
	
	@Column(name="user_nickname")
	private String nickname;
	
	@Column(name="user_unionid")
	private String unionId;
	
	@Column(name="save_date")
	private Date saveDate;
	
	@Column(name="update_date")
	private Date updateDate;
	
	@Column(name="wx_isvip")
	private Integer isVip=-1;

	public Date getSaveDate() {
		return saveDate;
	}

	public void setSaveDate(Date saveDate) {
		this.saveDate = saveDate;
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	public String getOpenId() {
		return openId;
	}

	public void setOpenId(String openId) {
		this.openId = openId;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public String getUnionId() {
		return unionId;
	}

	public void setUnionId(String unionId) {
		this.unionId = unionId;
	}

	public Integer getIsVip() {
		return isVip;
	}

	public void setIsVip(Integer isVip) {
		this.isVip = isVip;
	}
	
}
